﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Grizzy_X
{
    public class CPolygonLegend : CLegend
    {
        public enum BorderStyle { solidline, dashline };
        public enum FillStyle { transparent, solid };
        public BorderStyle Border_Style;
        public FillStyle Fill_Style;
        public float border_weight;
        public Color border_color;
        public Color fill_color;

        public void initialize()
        {
            this.Border_Style = BorderStyle.solidline;
            this.Fill_Style = FillStyle.solid;
            this.border_weight = (float)2;//默认为2像素
            this.border_color = Color.Black;
            this.fill_color = Color.YellowGreen;
            this.Legend_Type = LegendType.CPolygonLegend;
            this.ByScale = true;
            this.Visible = true;
        }
    }
}
